Auto merge of #2040 - alexcrichton:dedupe, r=brson
authorbors <bors@rust-lang.org>
Thu, 8 Oct 2015 20:15:13 +0000 (20:15 +0000)
committerbors <bors@rust-lang.org>
Thu, 8 Oct 2015 20:15:13 +0000 (20:15 +0000)
commita377fd706a79fe5260871258cc703ace0470d099
treece35c35f105e6f237988d1d530d3ab18de8d6fdd
parent3adc84516f931fd5c59a744328adb7c84d4da16f
parentfebcab0e0afed3cbedfb3d481e3473835150167d
Auto merge of #2040 - alexcrichton:dedupe, r=brson

I removed this in 68014ab8 thinking it wasn't necessary, which it technically
isn't for correctness but it ends up leading to absurdly long command lines to
the compiler for larger projects. This also changes the `Vec` to be a `BTreeSet`
to have sorting and deduplication as we go along which should be much faster
than waiting to sort until the very end.
src/cargo/ops/cargo_rustc/custom_build.rs